package com.ebox.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ebox.core.exception.EboxException;
import com.ebox.dao.UserMapper;
import com.ebox.entity.User;
import com.ebox.service.UserService;

@Service
public class UserServiceImpl implements UserService<User, User> {
	@Autowired
	private UserMapper userMapper;


	@Override
	public void updateEntity(User t) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void deleteEntity(User t) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public User getEntityDetail(User t) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<User> getEntityList(User t) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int getRowSize(User t) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void saveEntity(User t) {
		userMapper.insert(t);
	
		
	}

	

}
